package com.skynet.amqp.perfect;

public class MessageWrapper {

    private long id;

    private long time;

    private String exchange;

    private String routingkey;

    private Object message;

    public MessageWrapper() {
    }

    public MessageWrapper(long id, long time, String exchange, String routingkey, Object message) {
        this.id = id;
        this.time = time;
        this.exchange = exchange;
        this.routingkey = routingkey;
        this.message = message;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getRoutingkey() {
        return routingkey;
    }

    public void setRoutingkey(String routingkey) {
        this.routingkey = routingkey;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }
}
